var vm = new Vue({
    el:'#vm',
    data:{

    },
    created:function(){
        this.druidLogin();
    },
    methods: {
        druidLogin:function(){
            $.ajax({
                url:'/moni/druid/login',
                dataType:"text",
                type:'post',
                data:{},
                success:(res)=>{
                    if (res == "success") {
                        location.href = "/druid/index.html";
                    } else{
                        this.$notify({ title: '提示',message: '自动登录失败',type: 'success' });
                    }
                }
            })
        }
    }
})

